﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC04Controller
    /// </summary>
    public class VYC04Controller
    {
        private static VYC04BO _vyc04Bo;
        public VYC04Controller()
        {
            //
            _vyc04Bo = new VYC04BO();
        }

        public List<ModelVYC04> GetAllList()
        {
            return _vyc04Bo.GetAllList();
        }

        public int AddData(ModelVYC04 model)
        {
            return _vyc04Bo.AddData(model);
        }

        public int EditData(ModelVYC04 model)
        {
            return _vyc04Bo.EditData(model);
        }

        public int DeleteData(ModelVYC04 model)
        {
            return _vyc04Bo.DeleteData(model);
        }

        public List<ModelVYC04> GetById(int id)
        {
            return _vyc04Bo.GetById(id);
        }
        public List<ModelVYC04> GetByUniqueId(string uniqueid)
        {
            return _vyc04Bo.GetByUniqueId(uniqueid);
        }
    }
}